package routers

import "gvb_server/api"

func (r RouterGroup) AdvertRouter() {
	advertApi := api.ApiGroupApp.AdvertApi
	r.POST("/advert", advertApi.AdvertCreate)
	r.GET("/advert", advertApi.AdvertList)
	r.PUT("/advert/:id", advertApi.AdvertUpdate)
}
